﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace Engine
{
	/// <summary>
	/// Simple logging class.  Right now it is just a wrapper around System.Console.Error for
	/// writing error messages to the console.  I may do more with it as needed later.
	/// </summary>
	public class Logger
	{
		private static List<string> errors = new List<string>();
		public static void LogMessage(string text)
		{
			Logger.errors.Add(text);
			System.Console.Error.WriteLine(text);
		}
	}
}
